package com.example.demo.service;

import com.example.demo.mapper.UserMapper;
import com.example.demo.model.Userinfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/* @Author      zouzh
 * @PackageName transaction-demo
 * @Package     com.example.demo.service
 * @Date        2023/8/26 17:39
 */
@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;

    public int add(Userinfo userinfo){
        return userMapper.add(userinfo);
    }
}
